Applet Locator Callback Structure
If you are asynchronously retrieving HTML information when creating an applet locator, you must pass a data structure that supplies a callback function. This data structure is defined by the
JMAppletLocatorCallbacks
data type.
struct JMAppletLocatorCallbacks {
UInt32 fVersion; /* set to kJMVersion */
JMFetchCompleted fCompleted; /* text has been retrieved */
};
Field descriptions
-
fVersion
-
The version of JManager. You should set this field to
kJMVersion
.
-
fCompleted
-
A pointer to a function that should execute after the HTML data has been successfully retrieved and parsed. The callback function has the following type definition:
typedef void (*JMFetchCompleted) (
JMAppletLocatorRef ref, JMLocatorErrors status);
-
For more information, see the description of the application-defined function
MyFetchCompleted
.
© 1998 Apple Computer, Inc. — (Last Updated 3 Dec 98)